package com.example.common.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel
public class EscortType {
    @ApiModelProperty(value = "类型id")
    private Long etId;
    @ApiModelProperty(value = "类型名称")
    private String name;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "启用状态")
    private Integer disable;
    @ApiModelProperty(value = "展示状态")
    private Integer showAble;
    @ApiModelProperty(value = "备注")
    private String remark;
}
